package com.les.ufcg.gerenciador;

import android.app.Activity;
import android.content.Intent;
import android.os.Bundle;
import android.os.Handler;

public class SplashScreen extends Activity {
	
	public void onCreate(Bundle b) {
		super.onCreate(b);
		setContentView(R.layout.splash);
		Handler han = new Handler();
		han.postDelayed(new SplashHandler(), 500);
	}
	
	private class SplashHandler implements Runnable {
		@Override
		public void run() {
			startActivity(new Intent(getApplication(), MainActivity.class));
			SplashScreen.this.finish();
		}
		
	}
	
}
